package com.second.market;

import com.second.market.config.RsaKeyProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @program: clms-second
 * @description: 广告管理的主启动类
 * @author: 邓衡
 * @create: 2021-07-23 17:31
 **/
@SpringBootApplication
@MapperScan(basePackages = {"com.second.market.mapper"})
@EnableConfigurationProperties(value = {RsaKeyProperties.class})
@EnableTransactionManagement
public class MarketApp {
    public static void main(String[] args) {
        SpringApplication.run(MarketApp.class,args);
    }
}
